import React from 'react';
import { createRoot } from 'react-dom/client';
import 'windi.css';
import { App } from './app';
import { HomePage } from './pages';
import './global.css';

export const mountApp = () => {
  const container = document.getElementById('root');
  if (container == null) return;
  createRoot(container).render(
    <React.StrictMode>
      <App>
        <HomePage/>
      </App>
    </React.StrictMode>,
  );
};

mountApp();
